/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author dmiller3
 */
public class Constant
{
   public static final int NORTH_LEFT_TURN  = 19;
   public static final int NORTH_FORWARD    = 18;
   public static final int NORTH_RIGHT_TURN = 17;

   public static final int EAST_LEFT_TURN  = 6;
   public static final int EAST_FORWARD    = 5;
   public static final int EAST_RIGHT_TURN = 4;

   public static final int SOUTH_LEFT_TURN  = 32;
   public static final int SOUTH_FORWARD    = 31;
   public static final int SOUTH_RIGHT_TURN = 30;

   public static final int WEST_LEFT_TURN  = 45;
   public static final int WEST_FORWARD    = 44;
   public static final int WEST_RIGHT_TURN = 43;

   public Constant()
   {
      //Default Constructor
   }


   //Translate sequetial numbers into above constantst above
   public static int LaneNumberIndex(int laneNumber)
   {

      switch(laneNumber)
      {
         case  0: return NORTH_LEFT_TURN;
         case  1: return NORTH_FORWARD;
         case  2: return NORTH_RIGHT_TURN;
         case  3: return EAST_LEFT_TURN;
         case  4: return EAST_FORWARD;
         case  5: return EAST_RIGHT_TURN;
         case  6: return SOUTH_LEFT_TURN;
         case  7: return SOUTH_FORWARD;
         case  8: return SOUTH_RIGHT_TURN;
         case  9: return WEST_LEFT_TURN;
         case 10: return WEST_FORWARD;
         case 11: return WEST_RIGHT_TURN;
         default:
            System.out.println("No Lane by that number\n");
      }

      return -1;
   }







   public static final int MAX_NUMBER_OF_XML_ELEMENTS = 70;

}
